Skip to content

Regenerate core, expose privateHost and temperature #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 14, 2025

Conversation

austin-denoble
Copy link
Contributor

@austin-denoble austin-denoble commented Jun 14, 2025

Problem

There are a few new fields which were ported to the 2025-04 spec:

  • temperature (Assistant chat / chatCompletion, chatStreaming, chatCompletionStreaming)
  • privateHost (IndexModel)

Solution

  • Regenerate 2025-04, exposing privateHost, new assistant model enum values, and temperature.
  • Add temperature to both ChatOptions and ChatCompletionOptions.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

CI - external app tests, unit tests, integration tests


…ptions and ChatCompletionOptions, update models enums for assistant
@@ -22,9 +22,9 @@
"lint": "eslint src/ --ext .ts",
"repl": "npm run build && node utils/replInit.ts",
"test:integration:node": "TEST_ENV=node jest src/integration/ -c jest.config.integration-node.js --detectOpenHandles --runInBand --bail --forceExit",
"test:integration-local:node": "TEST_ENV=node node src/integration/integrationRunner.js",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing local runner since the script was moved previously.

throw new Error(
'Invalid model specified. Must be one of "gpt-4o" or "claude-3-5-sonnet"'
`Invalid model specified. Must be one of ${allowedModels
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving away from hard-coding this.

@austin-denoble austin-denoble merged commit b98e875 into main Jun 14, 2025
53 of 54 checks passed
@austin-denoble austin-denoble deleted the adenoble/add-privateHost-asst-temperature branch June 14, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant